package com.sc.nft.controller.request;


import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class PageEquityPropsLogRequest extends PageRequest {


    @ApiModelProperty(value = "是否消耗 0:获取 1:消耗")
    @NotNull(message = "是否消耗不能为空")
    @Range(min = 0, max = 1, message = "是否消耗只能为0或1")
    private Integer isConsume;
}
